home *** CD-ROM | disk | FTP | other *** search
- Path: butterfly.hjs.com!not-for-mail
- From: root@butterfly.hjs.com (John Flinchbaugh)
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Subject: C style formatting (was Re: Young programmers read me.)
- Followup-To: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Date: 16 Apr 1996 06:55:17 -0400
- Organization: Happy John Software
- Message-ID: <4kvual$26t@butterfly.hjs.com>
- References: <4icpp9$7hr@barad-dur.nas.com>
- Reply-To: glynis@yrkpa.kias.com
- NNTP-Posting-Host: localhost
- X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
-
- > That way you can store the code in "crammed" format to save disk space, and
- > convert it to your favorite style to work on it...and everyone can look at
- > it in *their* preferred format and the arguments over where the braces go,
- > or how many columns to use (80? 132? 547?) can disappear forever.
- >
- > Anyone got such a program? Writing it shouldn't be hard if you can define
- > the style-definition-file format (user interfaces are always the hardest
- > part :^).
-
- There's the 'indent' utility under unix. The version on my linux box
- is quit comprehensive, letting you define every little detail about
- the style you might care to set.
-
- Warning though, it DOESN'T work on C++ files!
- --
- _____________________}John Flinchbaugh{_______________________
- | -> glynis@yrkpa.kias.com <- http://yrkpa.kias.com/~glynis |
- | jmflinch@cs.millersv.edu jmf89784@marauder.millersv.edu |
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-